package org.wlgzs.office_exam_student.entity;

import java.sql.Timestamp;

/**
 * @author jxy
 * 考生成绩实体类
 */
public class Score {
    
	private int id;
    private int userId;//考生id
    private String userName;//考生姓名
    private int  classesId;//班级id
    private String classes;//班级名称
    private int examId;//考试id
    private String exam;//考试名称
	private Timestamp startTime;//开始考试时间
    private Timestamp endTime;//交卷时间
    private int score;//成绩
	private int choiceScore;
	private int wordScore;
	private int excelScore;
	private int pptScore;

	public Score(){}

	public Score(int userId, String userName, int classesId, String classes, int examId, String exam, Timestamp startTime, Timestamp endTime, int score) {
		this.userId = userId;
		this.userName = userName;
		this.classesId = classesId;
		this.classes = classes;
		this.examId = examId;
		this.exam = exam;
		this.startTime = startTime;
		this.endTime = endTime;
		this.score = score;
	}

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public int getClassesId() {
		return classesId;
	}
	public void setClassesId(int classesId) {
		this.classesId = classesId;
	}
	public String getClasses() {
		return classes;
	}
	public void setClasses(String classes) {
		this.classes = classes;
	}
	public int getExamId() {
		return examId;
	}
	public void setExamId(int examId) {
		this.examId = examId;
	}
	public String getExam() {
		return exam;
	}
	public void setExam(String exam) {
		this.exam = exam;
	}
	public Timestamp getStartTime() {
		return startTime;
	}
	public void setStartTime(Timestamp startTime) {
		this.startTime = startTime;
	}
	public Timestamp getEndTime() {
		return endTime;
	}
	public void setEndTime(Timestamp endTome) {
		this.endTime = endTome;
	}
	public int getScore() {
		return score;
	}
	public void setScore(int score) {
		this.score = score;
	}

	public int getChoiceScore() {
		return choiceScore;
	}

	public void setChoiceScore(int choiceScore) {
		this.choiceScore = choiceScore;
	}

	public int getWordScore() {
		return wordScore;
	}

	public void setWordScore(int wordScore) {
		this.wordScore = wordScore;
	}

	public int getExcelScore() {
		return excelScore;
	}

	public void setExcelScore(int excelScore) {
		this.excelScore = excelScore;
	}

	public int getPptScore() {
		return pptScore;
	}

	public void setPptScore(int pptScore) {
		this.pptScore = pptScore;
	}

	@Override
	public String toString() {
		return "Score{" +
				"id=" + id +
				", userId=" + userId +
				", userName='" + userName + '\'' +
				", classesId=" + classesId +
				", classes='" + classes + '\'' +
				", examId=" + examId +
				", exam='" + exam + '\'' +
				", startTime=" + startTime +
				", endTime=" + endTime +
				", score=" + score +
				", choiceScore=" + choiceScore +
				", wordScore=" + wordScore +
				", excelScore=" + excelScore +
				", pptScore=" + pptScore +
				'}';
	}
}
